package com.hourse.pojo;

import java.util.ArrayList;
import java.util.List;

public class HouseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HouseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andHouseTitleIsNull() {
            addCriterion("house_title is null");
            return (Criteria) this;
        }

        public Criteria andHouseTitleIsNotNull() {
            addCriterion("house_title is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTitleEqualTo(String value) {
            addCriterion("house_title =", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleNotEqualTo(String value) {
            addCriterion("house_title <>", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleGreaterThan(String value) {
            addCriterion("house_title >", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleGreaterThanOrEqualTo(String value) {
            addCriterion("house_title >=", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleLessThan(String value) {
            addCriterion("house_title <", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleLessThanOrEqualTo(String value) {
            addCriterion("house_title <=", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleLike(String value) {
            addCriterion("house_title like", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleNotLike(String value) {
            addCriterion("house_title not like", value, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleIn(List<String> values) {
            addCriterion("house_title in", values, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleNotIn(List<String> values) {
            addCriterion("house_title not in", values, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleBetween(String value1, String value2) {
            addCriterion("house_title between", value1, value2, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseTitleNotBetween(String value1, String value2) {
            addCriterion("house_title not between", value1, value2, "houseTitle");
            return (Criteria) this;
        }

        public Criteria andHouseImgIsNull() {
            addCriterion("house_img is null");
            return (Criteria) this;
        }

        public Criteria andHouseImgIsNotNull() {
            addCriterion("house_img is not null");
            return (Criteria) this;
        }

        public Criteria andHouseImgEqualTo(String value) {
            addCriterion("house_img =", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgNotEqualTo(String value) {
            addCriterion("house_img <>", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgGreaterThan(String value) {
            addCriterion("house_img >", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgGreaterThanOrEqualTo(String value) {
            addCriterion("house_img >=", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgLessThan(String value) {
            addCriterion("house_img <", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgLessThanOrEqualTo(String value) {
            addCriterion("house_img <=", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgLike(String value) {
            addCriterion("house_img like", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgNotLike(String value) {
            addCriterion("house_img not like", value, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgIn(List<String> values) {
            addCriterion("house_img in", values, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgNotIn(List<String> values) {
            addCriterion("house_img not in", values, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgBetween(String value1, String value2) {
            addCriterion("house_img between", value1, value2, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseImgNotBetween(String value1, String value2) {
            addCriterion("house_img not between", value1, value2, "houseImg");
            return (Criteria) this;
        }

        public Criteria andHouseAddressIsNull() {
            addCriterion("house_address is null");
            return (Criteria) this;
        }

        public Criteria andHouseAddressIsNotNull() {
            addCriterion("house_address is not null");
            return (Criteria) this;
        }

        public Criteria andHouseAddressEqualTo(String value) {
            addCriterion("house_address =", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressNotEqualTo(String value) {
            addCriterion("house_address <>", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressGreaterThan(String value) {
            addCriterion("house_address >", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressGreaterThanOrEqualTo(String value) {
            addCriterion("house_address >=", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressLessThan(String value) {
            addCriterion("house_address <", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressLessThanOrEqualTo(String value) {
            addCriterion("house_address <=", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressLike(String value) {
            addCriterion("house_address like", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressNotLike(String value) {
            addCriterion("house_address not like", value, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressIn(List<String> values) {
            addCriterion("house_address in", values, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressNotIn(List<String> values) {
            addCriterion("house_address not in", values, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressBetween(String value1, String value2) {
            addCriterion("house_address between", value1, value2, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseAddressNotBetween(String value1, String value2) {
            addCriterion("house_address not between", value1, value2, "houseAddress");
            return (Criteria) this;
        }

        public Criteria andHouseHxIsNull() {
            addCriterion("house_hx is null");
            return (Criteria) this;
        }

        public Criteria andHouseHxIsNotNull() {
            addCriterion("house_hx is not null");
            return (Criteria) this;
        }

        public Criteria andHouseHxEqualTo(Long value) {
            addCriterion("house_hx =", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxNotEqualTo(Long value) {
            addCriterion("house_hx <>", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxGreaterThan(Long value) {
            addCriterion("house_hx >", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxGreaterThanOrEqualTo(Long value) {
            addCriterion("house_hx >=", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxLessThan(Long value) {
            addCriterion("house_hx <", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxLessThanOrEqualTo(Long value) {
            addCriterion("house_hx <=", value, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxIn(List<Long> values) {
            addCriterion("house_hx in", values, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxNotIn(List<Long> values) {
            addCriterion("house_hx not in", values, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxBetween(Long value1, Long value2) {
            addCriterion("house_hx between", value1, value2, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHouseHxNotBetween(Long value1, Long value2) {
            addCriterion("house_hx not between", value1, value2, "houseHx");
            return (Criteria) this;
        }

        public Criteria andHousePriceIsNull() {
            addCriterion("house_price is null");
            return (Criteria) this;
        }

        public Criteria andHousePriceIsNotNull() {
            addCriterion("house_price is not null");
            return (Criteria) this;
        }

        public Criteria andHousePriceEqualTo(Integer value) {
            addCriterion("house_price =", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceNotEqualTo(Integer value) {
            addCriterion("house_price <>", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceGreaterThan(Integer value) {
            addCriterion("house_price >", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_price >=", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceLessThan(Integer value) {
            addCriterion("house_price <", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceLessThanOrEqualTo(Integer value) {
            addCriterion("house_price <=", value, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceIn(List<Integer> values) {
            addCriterion("house_price in", values, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceNotIn(List<Integer> values) {
            addCriterion("house_price not in", values, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceBetween(Integer value1, Integer value2) {
            addCriterion("house_price between", value1, value2, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHousePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("house_price not between", value1, value2, "housePrice");
            return (Criteria) this;
        }

        public Criteria andHouseSizeIsNull() {
            addCriterion("house_size is null");
            return (Criteria) this;
        }

        public Criteria andHouseSizeIsNotNull() {
            addCriterion("house_size is not null");
            return (Criteria) this;
        }

        public Criteria andHouseSizeEqualTo(Integer value) {
            addCriterion("house_size =", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeNotEqualTo(Integer value) {
            addCriterion("house_size <>", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeGreaterThan(Integer value) {
            addCriterion("house_size >", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_size >=", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeLessThan(Integer value) {
            addCriterion("house_size <", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeLessThanOrEqualTo(Integer value) {
            addCriterion("house_size <=", value, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeIn(List<Integer> values) {
            addCriterion("house_size in", values, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeNotIn(List<Integer> values) {
            addCriterion("house_size not in", values, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeBetween(Integer value1, Integer value2) {
            addCriterion("house_size between", value1, value2, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("house_size not between", value1, value2, "houseSize");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceIsNull() {
            addCriterion("house_totalprice is null");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceIsNotNull() {
            addCriterion("house_totalprice is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceEqualTo(Integer value) {
            addCriterion("house_totalprice =", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceNotEqualTo(Integer value) {
            addCriterion("house_totalprice <>", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceGreaterThan(Integer value) {
            addCriterion("house_totalprice >", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_totalprice >=", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceLessThan(Integer value) {
            addCriterion("house_totalprice <", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceLessThanOrEqualTo(Integer value) {
            addCriterion("house_totalprice <=", value, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceIn(List<Integer> values) {
            addCriterion("house_totalprice in", values, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceNotIn(List<Integer> values) {
            addCriterion("house_totalprice not in", values, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceBetween(Integer value1, Integer value2) {
            addCriterion("house_totalprice between", value1, value2, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseTotalpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("house_totalprice not between", value1, value2, "houseTotalprice");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanIsNull() {
            addCriterion("house_kaipan is null");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanIsNotNull() {
            addCriterion("house_kaipan is not null");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanEqualTo(Long value) {
            addCriterion("house_kaipan =", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanNotEqualTo(Long value) {
            addCriterion("house_kaipan <>", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanGreaterThan(Long value) {
            addCriterion("house_kaipan >", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanGreaterThanOrEqualTo(Long value) {
            addCriterion("house_kaipan >=", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanLessThan(Long value) {
            addCriterion("house_kaipan <", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanLessThanOrEqualTo(Long value) {
            addCriterion("house_kaipan <=", value, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanIn(List<Long> values) {
            addCriterion("house_kaipan in", values, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanNotIn(List<Long> values) {
            addCriterion("house_kaipan not in", values, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanBetween(Long value1, Long value2) {
            addCriterion("house_kaipan between", value1, value2, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseKaipanNotBetween(Long value1, Long value2) {
            addCriterion("house_kaipan not between", value1, value2, "houseKaipan");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeIsNull() {
            addCriterion("house_wuye is null");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeIsNotNull() {
            addCriterion("house_wuye is not null");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeEqualTo(Long value) {
            addCriterion("house_wuye =", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeNotEqualTo(Long value) {
            addCriterion("house_wuye <>", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeGreaterThan(Long value) {
            addCriterion("house_wuye >", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeGreaterThanOrEqualTo(Long value) {
            addCriterion("house_wuye >=", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeLessThan(Long value) {
            addCriterion("house_wuye <", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeLessThanOrEqualTo(Long value) {
            addCriterion("house_wuye <=", value, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeIn(List<Long> values) {
            addCriterion("house_wuye in", values, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeNotIn(List<Long> values) {
            addCriterion("house_wuye not in", values, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeBetween(Long value1, Long value2) {
            addCriterion("house_wuye between", value1, value2, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseWuyeNotBetween(Long value1, Long value2) {
            addCriterion("house_wuye not between", value1, value2, "houseWuye");
            return (Criteria) this;
        }

        public Criteria andHouseStatusIsNull() {
            addCriterion("house_status is null");
            return (Criteria) this;
        }

        public Criteria andHouseStatusIsNotNull() {
            addCriterion("house_status is not null");
            return (Criteria) this;
        }

        public Criteria andHouseStatusEqualTo(Long value) {
            addCriterion("house_status =", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusNotEqualTo(Long value) {
            addCriterion("house_status <>", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusGreaterThan(Long value) {
            addCriterion("house_status >", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusGreaterThanOrEqualTo(Long value) {
            addCriterion("house_status >=", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusLessThan(Long value) {
            addCriterion("house_status <", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusLessThanOrEqualTo(Long value) {
            addCriterion("house_status <=", value, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusIn(List<Long> values) {
            addCriterion("house_status in", values, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusNotIn(List<Long> values) {
            addCriterion("house_status not in", values, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusBetween(Long value1, Long value2) {
            addCriterion("house_status between", value1, value2, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseStatusNotBetween(Long value1, Long value2) {
            addCriterion("house_status not between", value1, value2, "houseStatus");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuIsNull() {
            addCriterion("house_zhangxiu is null");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuIsNotNull() {
            addCriterion("house_zhangxiu is not null");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuEqualTo(Long value) {
            addCriterion("house_zhangxiu =", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuNotEqualTo(Long value) {
            addCriterion("house_zhangxiu <>", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuGreaterThan(Long value) {
            addCriterion("house_zhangxiu >", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuGreaterThanOrEqualTo(Long value) {
            addCriterion("house_zhangxiu >=", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuLessThan(Long value) {
            addCriterion("house_zhangxiu <", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuLessThanOrEqualTo(Long value) {
            addCriterion("house_zhangxiu <=", value, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuIn(List<Long> values) {
            addCriterion("house_zhangxiu in", values, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuNotIn(List<Long> values) {
            addCriterion("house_zhangxiu not in", values, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuBetween(Long value1, Long value2) {
            addCriterion("house_zhangxiu between", value1, value2, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseZhangxiuNotBetween(Long value1, Long value2) {
            addCriterion("house_zhangxiu not between", value1, value2, "houseZhangxiu");
            return (Criteria) this;
        }

        public Criteria andHouseTeseIsNull() {
            addCriterion("house_tese is null");
            return (Criteria) this;
        }

        public Criteria andHouseTeseIsNotNull() {
            addCriterion("house_tese is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTeseEqualTo(Long value) {
            addCriterion("house_tese =", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseNotEqualTo(Long value) {
            addCriterion("house_tese <>", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseGreaterThan(Long value) {
            addCriterion("house_tese >", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseGreaterThanOrEqualTo(Long value) {
            addCriterion("house_tese >=", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseLessThan(Long value) {
            addCriterion("house_tese <", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseLessThanOrEqualTo(Long value) {
            addCriterion("house_tese <=", value, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseIn(List<Long> values) {
            addCriterion("house_tese in", values, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseNotIn(List<Long> values) {
            addCriterion("house_tese not in", values, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseBetween(Long value1, Long value2) {
            addCriterion("house_tese between", value1, value2, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseTeseNotBetween(Long value1, Long value2) {
            addCriterion("house_tese not between", value1, value2, "houseTese");
            return (Criteria) this;
        }

        public Criteria andHouseShengIsNull() {
            addCriterion("house_sheng is null");
            return (Criteria) this;
        }

        public Criteria andHouseShengIsNotNull() {
            addCriterion("house_sheng is not null");
            return (Criteria) this;
        }

        public Criteria andHouseShengEqualTo(Integer value) {
            addCriterion("house_sheng =", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengNotEqualTo(Integer value) {
            addCriterion("house_sheng <>", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengGreaterThan(Integer value) {
            addCriterion("house_sheng >", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_sheng >=", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengLessThan(Integer value) {
            addCriterion("house_sheng <", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengLessThanOrEqualTo(Integer value) {
            addCriterion("house_sheng <=", value, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengIn(List<Integer> values) {
            addCriterion("house_sheng in", values, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengNotIn(List<Integer> values) {
            addCriterion("house_sheng not in", values, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengBetween(Integer value1, Integer value2) {
            addCriterion("house_sheng between", value1, value2, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShengNotBetween(Integer value1, Integer value2) {
            addCriterion("house_sheng not between", value1, value2, "houseSheng");
            return (Criteria) this;
        }

        public Criteria andHouseShiIsNull() {
            addCriterion("house_shi is null");
            return (Criteria) this;
        }

        public Criteria andHouseShiIsNotNull() {
            addCriterion("house_shi is not null");
            return (Criteria) this;
        }

        public Criteria andHouseShiEqualTo(Integer value) {
            addCriterion("house_shi =", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiNotEqualTo(Integer value) {
            addCriterion("house_shi <>", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiGreaterThan(Integer value) {
            addCriterion("house_shi >", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_shi >=", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiLessThan(Integer value) {
            addCriterion("house_shi <", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiLessThanOrEqualTo(Integer value) {
            addCriterion("house_shi <=", value, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiIn(List<Integer> values) {
            addCriterion("house_shi in", values, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiNotIn(List<Integer> values) {
            addCriterion("house_shi not in", values, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiBetween(Integer value1, Integer value2) {
            addCriterion("house_shi between", value1, value2, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseShiNotBetween(Integer value1, Integer value2) {
            addCriterion("house_shi not between", value1, value2, "houseShi");
            return (Criteria) this;
        }

        public Criteria andHouseXianIsNull() {
            addCriterion("house_xian is null");
            return (Criteria) this;
        }

        public Criteria andHouseXianIsNotNull() {
            addCriterion("house_xian is not null");
            return (Criteria) this;
        }

        public Criteria andHouseXianEqualTo(Integer value) {
            addCriterion("house_xian =", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianNotEqualTo(Integer value) {
            addCriterion("house_xian <>", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianGreaterThan(Integer value) {
            addCriterion("house_xian >", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_xian >=", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianLessThan(Integer value) {
            addCriterion("house_xian <", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianLessThanOrEqualTo(Integer value) {
            addCriterion("house_xian <=", value, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianIn(List<Integer> values) {
            addCriterion("house_xian in", values, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianNotIn(List<Integer> values) {
            addCriterion("house_xian not in", values, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianBetween(Integer value1, Integer value2) {
            addCriterion("house_xian between", value1, value2, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHouseXianNotBetween(Integer value1, Integer value2) {
            addCriterion("house_xian not between", value1, value2, "houseXian");
            return (Criteria) this;
        }

        public Criteria andHousePersonIsNull() {
            addCriterion("house_person is null");
            return (Criteria) this;
        }

        public Criteria andHousePersonIsNotNull() {
            addCriterion("house_person is not null");
            return (Criteria) this;
        }

        public Criteria andHousePersonEqualTo(String value) {
            addCriterion("house_person =", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonNotEqualTo(String value) {
            addCriterion("house_person <>", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonGreaterThan(String value) {
            addCriterion("house_person >", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonGreaterThanOrEqualTo(String value) {
            addCriterion("house_person >=", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonLessThan(String value) {
            addCriterion("house_person <", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonLessThanOrEqualTo(String value) {
            addCriterion("house_person <=", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonLike(String value) {
            addCriterion("house_person like", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonNotLike(String value) {
            addCriterion("house_person not like", value, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonIn(List<String> values) {
            addCriterion("house_person in", values, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonNotIn(List<String> values) {
            addCriterion("house_person not in", values, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonBetween(String value1, String value2) {
            addCriterion("house_person between", value1, value2, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHousePersonNotBetween(String value1, String value2) {
            addCriterion("house_person not between", value1, value2, "housePerson");
            return (Criteria) this;
        }

        public Criteria andHouseUseridIsNull() {
            addCriterion("house_userid is null");
            return (Criteria) this;
        }

        public Criteria andHouseUseridIsNotNull() {
            addCriterion("house_userid is not null");
            return (Criteria) this;
        }

        public Criteria andHouseUseridEqualTo(Long value) {
            addCriterion("house_userid =", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridNotEqualTo(Long value) {
            addCriterion("house_userid <>", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridGreaterThan(Long value) {
            addCriterion("house_userid >", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("house_userid >=", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridLessThan(Long value) {
            addCriterion("house_userid <", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridLessThanOrEqualTo(Long value) {
            addCriterion("house_userid <=", value, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridIn(List<Long> values) {
            addCriterion("house_userid in", values, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridNotIn(List<Long> values) {
            addCriterion("house_userid not in", values, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridBetween(Long value1, Long value2) {
            addCriterion("house_userid between", value1, value2, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHouseUseridNotBetween(Long value1, Long value2) {
            addCriterion("house_userid not between", value1, value2, "houseUserid");
            return (Criteria) this;
        }

        public Criteria andHousePhoneIsNull() {
            addCriterion("house_phone is null");
            return (Criteria) this;
        }

        public Criteria andHousePhoneIsNotNull() {
            addCriterion("house_phone is not null");
            return (Criteria) this;
        }

        public Criteria andHousePhoneEqualTo(Integer value) {
            addCriterion("house_phone =", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneNotEqualTo(Integer value) {
            addCriterion("house_phone <>", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneGreaterThan(Integer value) {
            addCriterion("house_phone >", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_phone >=", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneLessThan(Integer value) {
            addCriterion("house_phone <", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneLessThanOrEqualTo(Integer value) {
            addCriterion("house_phone <=", value, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneIn(List<Integer> values) {
            addCriterion("house_phone in", values, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneNotIn(List<Integer> values) {
            addCriterion("house_phone not in", values, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneBetween(Integer value1, Integer value2) {
            addCriterion("house_phone between", value1, value2, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHousePhoneNotBetween(Integer value1, Integer value2) {
            addCriterion("house_phone not between", value1, value2, "housePhone");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNull() {
            addCriterion("house_type is null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNotNull() {
            addCriterion("house_type is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeEqualTo(Long value) {
            addCriterion("house_type =", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotEqualTo(Long value) {
            addCriterion("house_type <>", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThan(Long value) {
            addCriterion("house_type >", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThanOrEqualTo(Long value) {
            addCriterion("house_type >=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThan(Long value) {
            addCriterion("house_type <", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThanOrEqualTo(Long value) {
            addCriterion("house_type <=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIn(List<Long> values) {
            addCriterion("house_type in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotIn(List<Long> values) {
            addCriterion("house_type not in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeBetween(Long value1, Long value2) {
            addCriterion("house_type between", value1, value2, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotBetween(Long value1, Long value2) {
            addCriterion("house_type not between", value1, value2, "houseType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}